package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author 胡慧
 * @title: AdSensitiveService
 * @projectName heima-leadnews
 * @description: TODO
 * @date 2021/2/516:44
 */
public interface AdSensitiveService extends IService<AdSensitive> {
    /**
     * 查询参数
     * @param dto
     * @return
     */
    ResponseResult findSensitive(SensitiveDto dto);

    /**
     * 添加参数
     * @param adSensitive
     * @return
     */

    ResponseResult insert(AdSensitive adSensitive);

    /**
     * 修改参数
     * @param adSensitive
     * @return
     */
    ResponseResult edit(AdSensitive adSensitive);

    /**
     * 删除id
     * @param id
     * @return
     */
    ResponseResult delete(Integer id);
}
